#include <stdio.h>

const int MaxPointNum=50;

int abs(int num)
{
    return num>0?num:-num;
}

int jsmj(int* point1,int* point2){
    return abs((point1[0]-point2[0])*(point1[1]-point2[1]));
}

int main(){
    int n,k;
    int i,j;
    scanf("%d %d",&n,&k);
    int pointArray[MaxPointNum][5];
    int distance[MaxPointNum][MaxPointNum];
    
    for(i=0;i<n;i++)
    {
        scanf("%d %d",&pointArray[i][0],&pointArray[i][1]);
        pointArray[i][2]=pointArray[i][0];
        pointArray[i][3]=pointArray[i][1];
        pointArray[i][4]=0;
    }
    if(k>=n)
    {
        printf("0\n");
    }
    else{
        for(i=0;i<n;i++)
        {
            distance[i][i]=0;
            for(j=i+1;j<n;j++)
            {
                distance[j][i]=jsmj(distance[i],distance[j]);
                distance[i][j]=distance[j][i];
            }
        }
    }
    

    return 0;
}